<ion-view id="home-view" hide-nav-bar="true" view-title="Care++" wf-tab id="home-list">

    <ion-header-bar align-title="center" class="head">
        <h1 class="min-title">今日订单</h1>
    </ion-header-bar>
    <ion-content>
        <ion-refresher
                pulling-text="重新加载..."
                on-refresh="doRefresh()">
        </ion-refresher>
        <div ng-repeat="order in orderList" ng-click="toDetail(order.id)">
            <div class="yyfw shadow-box" >
                <img wf-src="img/yuyue/touxiang.png" class="ddtx"/>
                <hr class="ddhr"/>
                <div class="ddlt">
                    <label class="ddlb1">{{order.title}}</label><br/>
                    <label class="ddlb2">{{order.invoice}}</label><br/>
                    <label class="ddlb2">&yen;{{order.charge}}</label><br/>
                    <label class="ddlb2">{{order.start| date:'yyyy-MM-dd'}}-{{order.end| date:'yyyy-MM-dd'}}</label><br/>
                    <label class="ddlb2">{{order.addr}}</label>
                </div>
                <label class="ddlb3">{{order.status}}</label>
            </div>
            <span class="ddbtm shadow-btn" ng-if="order.state == 4" ng-click="cancel(order.id)">结束服务</span>
        </div>
    </ion-content>
</ion-view>